package com.atguigu.order.entity.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel(value = "订单对象", description = "订单对象封装")
@Data
public class OrderVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "姓名")
    private String pname;

    @ApiModelProperty(value = "姓别")
    private Integer sex;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "电话号码")
    private String phone;


    @ApiModelProperty(value = "课程名称")
    private String cname;

    @ApiModelProperty(value = "老师")
    private String tname;

    @ApiModelProperty(value = "已支付 1 未支付 2")
    private Integer status;

    @ApiModelProperty(value = "金额")
    private Double totlePrice;

    @ApiModelProperty(value = "创建时间", example = "2019-01-01 10:10:10")
    private String begin;//注意，这里使用的是String类型，前端传过来的数据无需进行类型转换

}
